document.addEventListener('DOMContentLoaded', function() {
    const showAddFormBtn = document.getElementById('showAddFormBtn');
    const showBookmarksListBtn = document.getElementById('showBookmarksListBtn');
    const addBookmarkForm = document.getElementById('addBookmarkForm');
    const bookmarksList = document.getElementById('bookmarksList');

    showAddFormBtn.addEventListener('click', function() {
        addBookmarkForm.style.display = 'block';
        bookmarksList.style.display = 'none';
    });

    showBookmarksListBtn.addEventListener('click', function() {
        bookmarksList.style.display = 'block';
        addBookmarkForm.style.display = 'none';
    });
});
